Extensible Pattern Recognition in DSP Programs using Cetus

نویسندگان

  • Amin Shafiee Sarvestani
  • Erik Hansson
چکیده

We describe a tool for pattern (idiom) recognition in DSP (digital signal processing) source programs. We focus on patterns for loops and the statements in their bodies as these often are the performance-critical constructs in DSP applications for which replacement by highly optimized, target-specific parallel algorithms will be most profitable. For better structuring and efficiency of pattern recognition, we classify patterns by different levels of complexity such that patterns in higher levels are defined in terms of lower level patterns. Our tool utilizes functionality provided by the Cetus compiler infrastructure for static pattern recognition. It works on the Cetus intermediate representation (IR) and applies bottom-up pattern matching. For better extensibility and abstraction, most of the structural part of recognition rules is specified in XML form. This separates the tool implementation from the pattern specifications.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Cetus - An Extensible Compiler Infrastructure for Source-to-Source Transformation

Cetus is a compiler infrastructure for the source-to-source transformation of programs. We created Cetus out of the need for a compiler research environment that facilitates the development of interprocedural analysis and parallelization techniques for C, C++, and Java programs. We will describe our rationale for creating a new compiler infrastructure and give an overview of the Cetus architect...

متن کامل

CETUS - A Baseline Approach to Type Extraction

The concurrent growth of the Document Web and the Data Web demands accurate information extraction tools to bridge the gap between the two. In particular, the extraction of knowledge on real-world entities is indispensable to populate knowledge bases on the Web of Data. Here, we focus on the recognition of types for entities to populate knowledge bases and enable subsequent knowledge extraction...

متن کامل

Extending a source-to-source compiler with XML capabilities

This paper presents an extension that adds XML capabilities to Cetus, a source-to-source compiler developed by Purdue University. In this work, the Cetus Intermediate Representation is converted into an XML DOM tree that, in turn, enables XML capabilities, such as searching speci c code features through XPath expressions. As an example, we write an XPath code to nd private and shared variables ...

متن کامل

Experiences in Using Cetus for Source-to-Source Transformations

Cetus is a compiler infrastructure for the source-to-source transformation of programs. Since its creation nearly three years ago, it has grown to over 12,000 lines of Java code, been made available publically on the web, and become a basis for several research projects. We discuss our experience using Cetus for a selection of these research projects. The focus of this paper is not the projects...

متن کامل

Development of DSP Unit for Online Tuning and Application to Neural Pattern Recognition System

Recently, smaller and more effective recognition system is required in various fields. In our previous researches, the recognition system using neural network (NN) and DSP had been developed. In some research fields, such as biometrics, the target of the system was to recognize patterns whose data varied widely because of the difference of individuals and surroundings, but its recognition abili...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011